﻿using System.Data.Linq.Mapping;

namespace vurfu.DataContracts.Graphs
{
    [Table(Name = "dbo.UserStaticGroupGraph")]
    public class UserStaticGroupEdge
    {
        [Column(Name = "Id", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true, CanBeNull = false)]
        public string Id { get; set; }

        [Column(Name = "UserId", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string UserId { get; set; }

        [Column(Name = "GroupId", DbType = "UniqueIdentifier NOT NULL", CanBeNull = false)]
        public string GroupId { get; set; }
    }
}